//
//  ZSQrCodeCoverView.m
//  ZSQrCode
//
//  Created by Mac on 16/1/19.
//  Copyright © 2016年 Mac. All rights reserved.
//

#import "ZSQrCodeCoverView.h"

@interface ZSQrCodeCoverView ()

@property (weak, nonatomic) IBOutlet UIButton *coverBtn;


@end


@implementation ZSQrCodeCoverView
+ (instancetype)qrCodeCoverView {
    ZSQrCodeCoverView *view = [[[NSBundle mainBundle] loadNibNamed:@"ZSQrCodeCoverView" owner:nil options:0] lastObject];
    return view;
}



- (IBAction)coverBtnAction:(UIButton *)sender {
    if ([self.delegate respondsToSelector:@selector(qrCodeCoverViewCoverBtnDidClick:)]) {
        [self.delegate qrCodeCoverViewCoverBtnDidClick:self];
    }
}



@end
